<?php  

/**
* 
*/
class Assert
{
  protected $_isFailed = false;
  public function isFailed(){
    return $this->_isFailed;
  }
  
  
  
  public function __construct()
  {
    
  }
  
  public function __call($name,$args){
    if(strpos($name,'assert')!=0)  return;
    $name = str_replace('assert','',$name);
    $name = $name.'Strategy';
    import('com.miho.test.assert.'.$name);
    
    
    $strategy = new $name;
    
    $strategy->assert($args);
  }
}


?>